package router

import (
	"github.com/gin-gonic/gin"
	"mxshop_api/order-web/api/shop_cart"
)

func InitShopCartRouter(group *gin.RouterGroup) {

	routerGroup := group.Group("shop_cart")
	{
		routerGroup.GET("", shop_cart.List)
		routerGroup.POST("", shop_cart.New)
		routerGroup.PATCH("/:id", shop_cart.Update)
		routerGroup.DELETE("/:id", shop_cart.Delete)
	}

}
